import http from '../common/axios.js'

function get(url)
{
 return http.get(url).then(res=>{
  return res;
 }) 
}


function put(url)
{
 return http.put(url).then(res=>{
  return res;
 }) 
}


function post(url,data)
{
 return http.post(url,data).then(res=>{
  return res;
 }) 
}

export default {
 get,
 post,
 put
}